package com.bds.btcdc.web.model;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

import java.math.BigDecimal;

/**
 * Created by DongChenchen on 2018/5/7 0007
 * 策略设置（一对多）
 * 一个用户对应 多个货币固定值
 */
@Table("t_strategy_many")
public class StrategyManyArgs {
    @Id
    private Long id;
    @Column
    private Long user_id;
    @Column
    private String exchange_code;//交易所
    @Column
    private String en_coin_name;//币种
    @Column
    private BigDecimal coin_sum_threshold;//用户自己设定的数字货币固定值(特定平台)

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUser_id() {
        return user_id;
    }

    public void setUser_id(Long user_id) {
        this.user_id = user_id;
    }

    public String getExchange_code() {
        return exchange_code;
    }

    public void setExchange_code(String exchange_code) {
        this.exchange_code = exchange_code;
    }

    public String getEn_coin_name() {
        return en_coin_name;
    }

    public void setEn_coin_name(String en_coin_name) {
        this.en_coin_name = en_coin_name;
    }

    public BigDecimal getCoin_sum_threshold() {
        return coin_sum_threshold;
    }

    public void setCoin_sum_threshold(BigDecimal coin_sum_threshold) {
        this.coin_sum_threshold = coin_sum_threshold;
    }
}
